package com.design.template;

/**
 * @author leali
 * @title: XMLDataViewer
 * @projectName design
 * @description: TODO
 * @date 2021/12/31 23:29
 */
public class XMLDataViewer extends DataViewer{
    @Override
    public void GetData() {
        System.out.println("从XML文件中获取数据");
    }

    @Override
    public void DisplayData() {
        System.out.println("以柱状图显示数据");
    }
    //覆盖父类的钩子方法
    public boolean IsNotXMLData()
    {
        return false;
    }
}
